package br.edu.universo.si.projeto2.infojob.server.negocio;

import java.sql.SQLException;
import java.util.HashMap;

import br.edu.universo.si.projeto2.infojob.server.persistencia.PEstadoCivil;

public class NEstadoCivil
{
	public static HashMap<Integer, String> getEstadosCivis() throws Exception
	{
		try
		{
			return PEstadoCivil.getEstadosCivis();
		}
		catch (ClassNotFoundException ex)
		{
			ex.printStackTrace();
			throw new Exception();
		}
		catch (SQLException ex)
		{
			ex.printStackTrace();
			throw new Exception();			
		}
		catch (Exception ex)
		{
			ex.printStackTrace();
			throw new Exception();
		}
	}
}